package com.wlc.service;

import com.wlc.pojo.PageResult;
import com.wlc.pojo.Role;
import java.util.List;

public interface RoleService {

    PageResult<Role> findRoleList(String roleName, String roleCode, Integer page, Integer size);
    Role findById(Long id);
    List<Role> findAll();
    void save(Role role);
    void update(Role role);
    void deleteById(Long id);
    void assignMenus(Long roleId, List<Long> menuIds);
    List<Long> findMenuIdsByRoleId(Long roleId);
}